package pe.edu.upc.e41a.javasoft.service;

import java.util.List;
import org.springframework.roo.addon.layers.service.RooService;
import pe.edu.upc.e41a.javasoft.domain.Aviso;
import java.util.Date;
@RooService(domainTypes = { pe.edu.upc.e41a.javasoft.domain.Aviso.class })
public interface AvisoService {

	public abstract long countAllAvisoes();


	public abstract void deleteAviso(Aviso aviso);


	public abstract Aviso findAviso(Integer id);


	public abstract List<Aviso> findAllAvisoes();


	public abstract List<Aviso> findAvisoEntries(int firstResult, int maxResults);


	public abstract void saveAviso(Aviso aviso);


	public abstract Aviso updateAviso(Aviso aviso);
	
	
	//DESDE PROYECTO SCV
	public abstract List<Aviso> mostrarAvisos(Date fecha, int posicion);
	
	public abstract String registrarAviso(Aviso aviso);

}
